/*
 * Copyright (C) 2021 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.mapbox.ohos.gestures;

/**
 * Constants
 */
public final class Constants {

    /**
     * Default angle change required in rotation movement to register rotate gesture./
     */
    public static final float DEFAULT_ROTATE_ANGLE_THRESHOLD = 15.3f;

    /**
     * Default angle between pointers (starting from horizontal line) required to abort shove gesture.
     */
    public static final float DEFAULT_SHOVE_MAX_ANGLE = 20f;

    /**
     * Default time within which pointers need to leave the screen to register tap gesture.
     */
    public static final long DEFAULT_MULTI_TAP_TIME_THRESHOLD = 150L;

    /**
     * Private constants
     */
    static final String INTERAL_SCALE_GESTURECTOR_MIN_SLOP_FIELD = "mMinSpan";
    static final String INTERAL_SCALE_GESTURECTOR_SPAN_SLOP_FIELD = "mSpanSlop";
}

